import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Vant from 'vant'
import 'vant/lib/index.css'
import 'amfe-flexible'

import 'normalize.css'
import './style/demo.css'
import filtersObj from '@/filters/index.js'
// 全局过滤器注册
Object.keys(filtersObj).forEach(item => {
  Vue.filter(item, filtersObj[item])
})

import componentJs from './components/index.js'
Vue.use(componentJs, 123)
Vue.use(Vant)
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
